//
//  MenuViewLinkCell.swift
//  iModern
//
//  Created by Ralf on 5/27/15.
//  Copyright (c) 2015 com.starlooking. All rights reserved.
//

import UIKit

class MenuViewLinkCell: TableViewCell
{
    @IBOutlet weak var menuLabel: UILabel!
    @IBOutlet weak var IconImage: UIImageView!

    override func awakeFromNib()
    {
        super.awakeFromNib()

        // Initialization code
    }

    override func setSelected(selected: Bool, animated: Bool)
    {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

    func setData(index: Int, text: String, image: String)
    {
        menuLabel.text = text
        IconImage.image = UIImage(named: image)
    }
}
